package com.zhanghe.study.springmvc.controller;

import com.zhanghe.study.springmvc.dto.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 类型转换器测试
 * @author zh
 * @date 2021/1/8 11:29
 */
@Controller
@RequestMapping("/conversion")
public class ConversionController {

    @RequestMapping("/testConverter")
    public String testConverter(User user){
        System.out.println(user);
        return "hello";
    }
}
